class CreateProductorigins < ActiveRecord::Migration
  def self.up
    create_table :productorigins do |t|
      t.integer :product_id, :null => false
      t.integer :national_id, :null => false
      t.integer :farm_id, :null=>false

      t.timestamps
    end
  end

  def self.down
    drop_table :productorigins
  end
end
